<%-- 
    Document   : teacherView
    Created on : 04/04/2011, 01:47:08
    Author     : Moraes
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Escola de Música</title>
    </head>
    <body>
        <h1>Professor</h1>
        ${errorMessage}

        <spring:nestedPath path="teacherCommand">
            <form action="" method="post">
                <fieldset>
                    <legend>Cadastro</legend>
                    <br>
                    Nome:
                    <spring:bind path="NmTeacher">
                        <input type="text" name="${status.expression}" value="${status.value}">
                    </spring:bind>
                    <input type="submit" value="OK">
                </fieldset>
            </form>
        </spring:nestedPath>

    </body>
</html>
